package org.journal.dao;

import java.util.List;

import org.journal.entity.AuthoritiesEntity;
import org.journal.entity.UserEntity;

public interface AuthoritiesDAO extends GenericDAO<AuthoritiesEntity, Integer> {

	public Integer createAuthorities(AuthoritiesEntity authorities);

	public List<AuthoritiesEntity> getUserAuthorities(UserEntity user);

}
